package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.RoleDto;
import com.zzyl.entity.Role;
import com.zzyl.vo.RoleVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper {
    Page<RoleVo> selectByPage(RoleDto roleDto);

    void insert(Role role);

    void update(Role role);

    void deleteById(Long roleIds);

    List<RoleVo> initRoles();

}
